package mortal.game.manager
{
	import flash.display.*;
	import flash.utils.*;
	import mortal.game.view.guide.*;
	
	public class GuideArrowManager
	{
		private static var _guideArrow:GuideArrow = new GuideArrow();
		private static var _timerKey:uint;
		private static var _onDelay:Function;
		private static var _thumbParent:Sprite = new Sprite();
		
		public function GuideArrowManager()
		{
		}
		
		public static function hideGuideArrow():void{
			clearTimer();
			if (_guideArrow.parent != _thumbParent)
			{
				_thumbParent.addChild(_guideArrow);
				_guideArrow.dispose();
			}
		}
		
		private static function clearTimer() : void
		{
			clearTimeout(_timerKey);
			_onDelay = null;
		}
	}
}